package com.ruoyi.wq.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.mybatis.base.BaseEntity;

/**
 * 用户朋友对象 wq_user_friend
 * 
 * @author ruoyi
 * @date 2022-08-26
 */
public class WqUserFriend extends BaseEntity{
	
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.UUID)
    private String id;

    /** 朋友用户ID */
    @Excel(name = "朋友用户ID")
    private Long friendUserId;

    /** 朋友头像 */
    @Excel(name = "朋友头像")
    private String friendAvatar;

    /** 朋友昵称 */
    @Excel(name = "朋友昵称")
    private String friendNickName;

    /** 用户性别（0男 1女 2未知） */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
    private String friendSex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer friendAge;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String avatar;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setFriendUserId(Long friendUserId) 
    {
        this.friendUserId = friendUserId;
    }

    public Long getFriendUserId() 
    {
        return friendUserId;
    }
    public void setFriendAvatar(String friendAvatar) 
    {
        this.friendAvatar = friendAvatar;
    }

    public String getFriendAvatar() 
    {
        return friendAvatar;
    }
    public void setFriendNickName(String friendNickName) 
    {
        this.friendNickName = friendNickName;
    }

    public String getFriendNickName() 
    {
        return friendNickName;
    }
    public void setFriendSex(String friendSex) 
    {
        this.friendSex = friendSex;
    }

    public String getFriendSex() 
    {
        return friendSex;
    }
    public void setFriendAge(Integer friendAge) 
    {
        this.friendAge = friendAge;
    }

    public Integer getFriendAge() 
    {
        return friendAge;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("friendUserId", getFriendUserId())
            .append("friendAvatar", getFriendAvatar())
            .append("friendNickName", getFriendNickName())
            .append("friendSex", getFriendSex())
            .append("friendAge", getFriendAge())
            .append("userId", getUserId())
            .append("avatar", getAvatar())
            .append("nickName", getNickName())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
